package cn.xfdzx.android.apps.shop.model;


import org.json.JSONObject;

import cn.xfdzx.android.apps.shop.bean.AddAddressBeen;
import cn.xfdzx.android.apps.shop.bean.ProcurementTypeListBeen;
import cn.xfdzx.android.apps.shop.bean.ProcurementTypeSubmitBeen;
import cn.xfdzx.android.apps.shop.bean.PurchaseSubmitBeen;
import cn.xfdzx.android.apps.shop.contract.AddAddressContract;
import cn.xfdzx.android.apps.shop.contract.ProcurementTypeListContract;
import cn.xfdzx.android.apps.shop.net.RetrofitClient;
import io.reactivex.Flowable;

/**
 * @author azheng
 * @date 2018/6/4.
 * Description：
 */
public class ProcurementTypeListModel implements ProcurementTypeListContract.Model {






    @Override
    public Flowable<ProcurementTypeListBeen> procurementTypeList() {
        return RetrofitClient.getInstance().getApi().procurementTypeList( );

    }

    @Override
    public Flowable<PurchaseSubmitBeen> purchaseSubmit(ProcurementTypeSubmitBeen body) {
        return RetrofitClient.getInstance().getApi().purchaseSubmit( body);
    }
}
